package com.ittony.service;

import com.ittony.dto.DishDTO;
import com.ittony.dto.DishPageQueryDTO;
import com.ittony.entity.Dish;
import com.ittony.result.PageResult;
import com.ittony.vo.DishVO;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface DishService {
    void addDish(DishDTO dishDTO);

    PageResult dishPage(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatch(Long[] dishIds);

    DishVO findDishById(Long id);

    void modifyDish(DishDTO dishDTO);

    List<DishVO> listWithFlavor(Dish dish);

    List<Dish> list(Long categoryId);

    void startOrStop(Integer status, Long id);
}
